import request from '@/utils/request'

// 查询学校项目标准列表
export function listSchoolProjectStandard(query) {
  return request({
    url: '/business/schoolProjectStandard/list',
    method: 'get',
    params: query
  })
}

// 查询学校项目标准详细
export function getSchoolProjectStandard(id) {
  return request({
    url: '/business/schoolProjectStandard/' + id,
    method: 'get'
  })
}

// 新增学校项目标准
export function addSchoolProjectStandard(data) {
  return request({
    url: '/business/schoolProjectStandard',
    method: 'post',
    data: data
  })
}

// 修改学校项目标准
export function updateSchoolProjectStandard(data) {
  return request({
    url: '/business/schoolProjectStandard',
    method: 'put',
    data: data
  })
}

// 删除学校项目标准
export function delSchoolProjectStandard(id) {
  return request({
    url: '/business/schoolProjectStandard/' + id,
    method: 'delete'
  })
}
